using MediatR;
using Traceability.API.Dtos;
using Traceability.ErrorCode;

namespace Traceability.API.APPLications.Commands.ImmunityInfo
{
    /// <summary>
    /// 获取所有免疫信息查询
    /// </summary>
    public class GetAllImmunityInfoQuery : IRequest<APIResult<PagedResultDto<ImmunityInfoDto>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 搜索关键词
        /// </summary>
        public string? SearchKeyword { get; set; }
    }
} 